Skip to content

Feature/refactoring #36

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 4 commits into from
Nov 24, 2015
Merged

Feature/refactoring #36

merged 4 commits into from
Nov 24, 2015

Conversation

frankebersoll
Copy link
Contributor

This does three things:

  1. Prohibit any unused imports. This makes it easier to identify the actual dependencies of a module. Currently, we're using all classes ourselves, why everything is being exported automatically. As from now, any additional components must be explicitly re-exported by the root component:

    export * from './otherwiseUnusedModule';
  2. Add a manual gulp task gulp format that uses the typescript-formatter. It uses our linter settings and the typescript-integrated code formatter to beautify all TS files. Should be executed from time to time in order to make merging easier.

  3. Tried to improve performance of non-build-tasks by moving some imports closer to their usage. We don't need to load all dependencies for all tasks.

Conflicts:
	dist/exceptionless.js.map
	dist/exceptionless.min.js.map
	dist/exceptionless.node.js.map
Conflicts:
	dist/exceptionless.js.map
	dist/exceptionless.min.js.map
	dist/exceptionless.node.js.map
	package.json
	src/EventBuilder.ts
	src/Utils-spec.ts
	src/Utils.ts
	src/plugins/default/ConfigurationDefaultsPlugin.ts
	src/plugins/default/EnvironmentInfoPlugin.ts
	src/plugins/default/ModuleInfoPlugin.ts
	src/plugins/default/RequestInfoPlugin.ts
	src/services/DefaultModuleCollector.ts
	src/services/DefaultRequestInfoCollector.ts
	src/services/NodeRequestInfoCollector.ts
	src/submission/DefaultSubmissionClient.ts
niemyjski added a commit that referenced this pull request Nov 24, 2015
Improvements to unit tests and formatting.
@niemyjski niemyjski merged commit 319f7a0 into master Nov 24, 2015
@niemyjski niemyjski deleted the feature/refactoring branch November 24, 2015 18:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants